<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="Content-Language" content="zh-CN" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>调查问卷</title>
	<link rel="stylesheet" rev="stylesheet" href="__PUBLIC__/static/index/style/style.css" type="text/css" media="screen" />
	<link rel="shortcut icon" href="/favicon.ico" />

	<!-- 新 Bootstrap 核心 CSS 文件 -->
	<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">

	<!-- 可选的Bootstrap主题文件（一般不用引入） -->
	<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap-theme.min.css">

	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>

	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>

	
</head>
<body class="single">
	<div id="divAll" >
		<div id="divPage">
			<div id="divMiddle">
				{include file="Public/header" /}
				<div id="divMain">
					<div class="post single-post cate2 auth1">

						<h4 class="post-date">{$arts.time|date="Y-m-d H:i:s",###}</h4>
						<h2 class="post-title">问卷标题：{$arts.title}</h2>
						<div class="post-body">
							问卷说明：{$arts.desc}
						</div>
						<div class="container-fluid">
							<div class="row">
								<div class="col-md-12 ">

									<!-- 弹出的验证对话框 if验证通过不弹出 -->
									<form action="" method="post" id="myform" name="myform" enctype="multipart/form-data">
										姓名:<input type="text" class="form-control" ></br>
										学号:<input type="text" class="form-control" ></br>
									</form>
									<!-- 结束弹出 -->

									<form action="" method="post" id="myform" name="myform" enctype="multipart/form-data">
										
										<input type="text" class="form-control" name="member" value="用户" >
										{volist name="article_contens" id="vo"}
										
										<h4>问题{$i}：{$vo.title} </h4>

										<!-- 判断题目的类型 -->
										{switch name="$vo.type"}
										{case value="0"}{assign name="var" value="radio" /}
										{assign name="c1" value="" /}
										{assign name="c2" value="" /}
										{assign name="c3" value="" /}
										{assign name="c4" value="" /}
										{assign name="c5" value="" /}
										{assign name="c6" value="" /}
										{/case}
										{case value="1"}{assign name="var" value="checkbox" /}
										{assign name="c1" value="1" /}
										{assign name="c2" value="2" /}
										{assign name="c3" value="3" /}
										{assign name="c4" value="4" /}
										{assign name="c5" value="5" /}
										{assign name="c6" value="6" /}
										{/case}
										{default /}{assign name="var" value="checkbox" /}
										{assign name="c1" value="1" /}
										{assign name="c2" value="2" /}
										{assign name="c3" value="3" /}
										{assign name="c4" value="4" /}
										{assign name="c5" value="5" /}
										{assign name="c6" value="6" /}
										{/switch}
										<input type="hidden" name="answerid{$i}" value="{$vo.id}" />
										题目的id{$vo.id}
										<input type="hidden" name="var{$i}" value="{$var}" />
										{notempty name="$vo.answer1"}<h5>选项a：<input type="{$var}" name="answer{$i}{$c1}"  id="answer{$i}{$c1}"  value="1"  >{$vo.answer1} </h5>{/notempty}
										{notempty name="$vo.answer2"}<h5>选项b：<input type="{$var}" name="answer{$i}{$c2}"  id="answer{$i}{$c1}"  value="2"  >{$vo.answer2} </h5>{/notempty}
										{notempty name="$vo.answer3"}<h5>选项c：<input type="{$var}" name="answer{$i}{$c3}"  id="answer{$i}{$c1}"  value="3"  >{$vo.answer3} </h5>{/notempty}
										{notempty name="$vo.answer4"}<h5>选项d：<input type="{$var}" name="answer{$i}{$c4}"  id="answer{$i}{$c1}"  value="4"  >{$vo.answer4} </h5>{/notempty}
										{notempty name="$vo.answer5"}<h5>选项e：<input type="{$var}" name="answer{$i}{$c5}"  id="answer{$i}{$c1}"  value="5"  >{$vo.answer5} </h5>{/notempty}
										{notempty name="$vo.answer6"}<h5>选项f：<input type="{$var}" name="answer{$i}{$c6}"  id="answer{$i}{$c1}"  value="6"  >{$vo.answer6} </h5>{/notempty}
										<br/>


										{/volist}

										<input type="submit" class="btn btn-default" value="提交"   />
									</form>
								</div>
							</div>
						</div>

						<h6 class="post-footer">
							分类:{$arts.catename} | 评论:555 | 浏览:<span id="spn75">{$arts.click}</span>
							<br />
							<!-- AD BEGIN -->
							<br />
							<div style="width:660px;" align="center">

							</div>
							<!-- AD END -->
						</h6>
					</div>




					{include file="Public/footer" /}
					<div class="clear"></div>
				</div><div class="clear"></div>
			</div><div class="clear"></div>
		</div>

	</body>
	</html>
